package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.domain.StrategyCatalog;
import cn.wolfcode.trip.base.domain.StrategyContent;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by 13925 on 2018/10/28.
 */

/**
 * 游记服务层
 */
public interface IStrategyCatalogService {
    /**
     * 游记分页查询
     *
     * @param qo
     * @return
     */
    PageInfo query(QueryObject qo);

    /**
     * 添加与更新大攻略
     *
     * @param strategyCatalog
     */
    void saveOrUpdate(StrategyCatalog strategyCatalog);

    /**
     * 根据大攻略id 查询该id下的分类
     *
     * @param strategyId
     * @return
     */
    List<StrategyCatalog> getCatalogByStrategyId(Long strategyId);


}

